#ifndef FAVORITE_H
#define FAVORITE_H

#include <QWidget>
#include <QMetaType>
#include "dialog_adress_manager.h"

namespace Ui {
    class Favorite;
}

class Favorite : public QWidget
{
    Q_OBJECT

public:
    explicit Favorite(Dialog_Adress_Manager * Adress_Manager, QWidget *parent = 0);
    ~Favorite();

protected:
    void changeEvent(QEvent *e);

private:
    Ui::Favorite *ui;
    Dialog_Adress_Manager * Adress_Manager;

public slots:
    void Add_Favorite();
    void Remove_Favorite();
    void Change_Theme(QString theme_name, QString style);
};

#endif // FAVORITE_H
